#import "FabricaInfoController.h"
#import "FabricaInfo.h"

@interface FabricaInfoController ()
@property (weak, nonatomic) IBOutlet UILabel *cnpjLabel;
@property (weak, nonatomic) IBOutlet UILabel *inscricaoEstadualLabel;
@end

@implementation FabricaInfoController

@synthesize cnpjLabel;
@synthesize inscricaoEstadualLabel;

-(void)setLabels:(InfoBase *)info {
    FabricaInfo* fabricaInfo = (FabricaInfo*)info;
    self.cnpjLabel.text = fabricaInfo.cnpj;
    self.inscricaoEstadualLabel.text = fabricaInfo.inscricaoEstadual;
}

@end
